package com.ruoyi.bl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 微信配置对象 bl_wx_config
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
public class BlWxConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表id */
    private Integer id;

    /** 关联商品店铺id */
    @Excel(name = "关联商品店铺id")
    private Long deptId;

    /** 配置支付url */
    @Excel(name = "配置支付url")
    private String payurl;

    /** 微信商户名称 */
    @Excel(name = "微信商户名称")
    private String deptName;

    /** 微信商户号MCHID */
    @Excel(name = "微信商户号MCHID")
    private String mchid;

    /** 微信商户号PATERNERKEY */
    @Excel(name = "微信商户号PATERNERKEY")
    private String paternerkey;

    /** 公众号名称 */
    @Excel(name = "公众号名称")
    private String appname;

    /** 小程序appid */
    @Excel(name = "小程序appid")
    private String appid;

    /** 小程序appsecret */
    @Excel(name = "小程序appsecret")
    private String appsecret;

    /** 小程序名称 */
    @Excel(name = "小程序名称")
    private String miniAppname;

    /** 小程序appid */
    @Excel(name = "小程序appid")
    private String miniAppid;

    /** 小程序appsecret */
    @Excel(name = "小程序appsecret")
    private String miniAppsecret;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setPayurl(String payurl) 
    {
        this.payurl = payurl;
    }

    public String getPayurl() 
    {
        return payurl;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setMchid(String mchid) 
    {
        this.mchid = mchid;
    }

    public String getMchid() 
    {
        return mchid;
    }
    public void setPaternerkey(String paternerkey) 
    {
        this.paternerkey = paternerkey;
    }

    public String getPaternerkey() 
    {
        return paternerkey;
    }
    public void setAppname(String appname) 
    {
        this.appname = appname;
    }

    public String getAppname() 
    {
        return appname;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }
    public void setAppsecret(String appsecret) 
    {
        this.appsecret = appsecret;
    }

    public String getAppsecret() 
    {
        return appsecret;
    }
    public void setMiniAppname(String miniAppname) 
    {
        this.miniAppname = miniAppname;
    }

    public String getMiniAppname() 
    {
        return miniAppname;
    }
    public void setMiniAppid(String miniAppid) 
    {
        this.miniAppid = miniAppid;
    }

    public String getMiniAppid() 
    {
        return miniAppid;
    }
    public void setMiniAppsecret(String miniAppsecret) 
    {
        this.miniAppsecret = miniAppsecret;
    }

    public String getMiniAppsecret() 
    {
        return miniAppsecret;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("payurl", getPayurl())
            .append("deptName", getDeptName())
            .append("mchid", getMchid())
            .append("paternerkey", getPaternerkey())
            .append("appname", getAppname())
            .append("appid", getAppid())
            .append("appsecret", getAppsecret())
            .append("miniAppname", getMiniAppname())
            .append("miniAppid", getMiniAppid())
            .append("miniAppsecret", getMiniAppsecret())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
